package io.renren.modules.course.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 技术名称列表
 * 
 * @author zlb
 * @email 316682546@qq.com
 * @date 2018-07-04 09:29:28
 */
@TableName("course")
public class CourseEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 编号
	 */
	@TableId
	private Integer id;
	/**
	 * 技术名称
	 */
	private String name;
	/**
	 * 类别
	 */
	private String type;
	/**
	 * 级别
	 */
	private String level;
	/**
	 * 创建时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	/**
	 * 订阅次数
	 */
	private Integer subscribeTotal;
	/**
	 * 方向Id
	 */
	private String directionId;
	/**
	 * 技术类别ID
	 */
	private String classificationId;
	/**
	 * 封面图片路径
	 */
	private String coverPath;
	/**
	 * 老师ID
	 */
	private int teacherId;

	private int talkTeacherId;

	/**
	 * 课程介绍
	 */
	private String introduce;

	/**
	 * 课程须知
	 */
	private String courseMustKnow;

	/**
	 * 老師姓名
	 */
	private String teacherName;

	public int getTalkTeacherId() {
		return talkTeacherId;
	}

	public void setTalkTeacherId(int talkTeacherId) {
		this.talkTeacherId = talkTeacherId;
	}

	public String getTeacherName() {
		return teacherName;
	}

	public void setTeacherName(String teacherName) {
		this.teacherName = teacherName;
	}

	public String getIntroduce() {
		return introduce;
	}

	public void setIntroduce(String introduce) {
		this.introduce = introduce;
	}

	public String getCourseMustKnow() {
		return courseMustKnow;
	}

	public void setCourseMustKnow(String courseMustKnow) {
		this.courseMustKnow = courseMustKnow;
	}

	public int getTeacherId() {
		return teacherId;
	}

	public void setTeacherId(int teacherId) {
		this.teacherId = teacherId;
	}

	/**
	 * 标题
	 */

	private  String title;

	/**
	 * 是否上线
	 */
	private  int isOnline;

	/**
	 * 积分
	 */
	private  double integral;


	public double getIntegral() {
		return integral;
	}

	public void setIntegral(double integral) {
		this.integral = integral;
	}

	public int getIsOnline() {
		return isOnline;
	}

	public void setIsOnline(int isOnline) {
		this.isOnline = isOnline;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	/**
	 * 设置：编号
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：编号
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * 设置：技术名称
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * 获取：技术名称
	 */
	public String getName() {
		return name;
	}
	/**
	 * 设置：技术类别
	 */
	public void setType(String type) {
		this.type = type;
	}
	/**
	 * 获取：技术类别
	 */
	public String getType() {
		return type;
	}
	/**
	 * 设置：级别
	 */
	public void setLevel(String level) {
		this.level = level;
	}
	/**
	 * 获取：级别
	 */
	public String getLevel() {
		return level;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getCreateTime() {
		return createTime;
	}
	/**
	 * 设置：订阅次数
	 */
	public void setSubscribeTotal(Integer subscribeTotal) {
		this.subscribeTotal = subscribeTotal;
	}
	/**
	 * 获取：订阅次数
	 */
	public Integer getSubscribeTotal() {
		return subscribeTotal;
	}
	/**
	 * 设置：方向Id
	 */
	public void setDirectionId(String directionId) {
		this.directionId = directionId;
	}
	/**
	 * 获取：方向Id
	 */
	public String getDirectionId() {
		return directionId;
	}
	/**
	 * 设置：技术类别ID
	 */
	public void setClassificationId(String classificationId) {
		this.classificationId = classificationId;
	}
	/**
	 * 获取：技术类别ID
	 */
	public String getClassificationId() {
		return classificationId;
	}
	/**
	 * 设置：封面图片路径
	 */
	public void setCoverPath(String coverPath) {
		this.coverPath = coverPath;
	}
	/**
	 * 获取：封面图片路径
	 */
	public String getCoverPath() {
		return coverPath;
	}
}
